package com.fsnbigdata.service.api;

import java.text.ParseException;
import java.util.List;
import java.util.Map;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Pageable;

/**
 * Created by zhongcheng on 04/12/2017.
 */
public interface StatisticService {

    Map<String, Long> countAllDatabase();

    Map<String, Long> countByCreator(String creator);

    List findAllByKeyWords(String key, Pageable pageable);

    String count();

//    void deleteFile() throws Exception;
}
